package com.piggy.logi.sys.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.piggy.common.core.web.domain.BaseTenantEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel("承运商车辆关联司机信息编辑对象")
public class LogiCarrierCarDriverEditBo extends BaseTenantEntity {

    @ApiModelProperty("车辆司机关联id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @ApiModelProperty("司机id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long driverId;

    @ApiModelProperty("车辆id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long carId;

    @ApiModelProperty("主驾司机（0否1是）")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Integer mainDriver;
}
